﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section Head
{
}
<div class="layui-form childrenBody" id="add-form" style="width:95%;">
    @*hidden用于创建子节点*@
    <input type="hidden" class="layui-input" name="gParentCode">
    <input type="hidden" class="layui-input" name="iSort">

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">部门名称：</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input " lay-verify="required" name="sName" placeholder="请输入名称">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">负责人：</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" lay-verify="required" name="sLeader" placeholder="请输入负责人">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">联系电话：</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" lay-verify="required|phone" name="sPhone" placeholder="请输入联系电话">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">邮&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;箱：</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" lay-verify="required" name="sEmail" placeholder="请输入邮箱">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态：</label>
        <div class="layui-input-block" name="bIsEnabled">
            <input type="radio" name="bIsEnabled" value="true" title="启用" checked="">
            <input type="radio" name="bIsEnabled" value="false" title="禁用">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：</label>
        <div class="layui-input-block">
            <textarea class="layui-textarea" lay-verify="required" name="sContent" placeholder="请输入备注"></textarea>
        </div>
    </div>
    <div class="layer-footer">
        <button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="addButton">立即添加</button>
        <button lay-btn="" class="layui-btn layui-btn-sm" id="btnClose">关闭</button>
    </div>
</div>
@section Foot
{
    <script src="~/Areas/Authority/js/department.add.js"></script>
}
